/**
 * Created by wuxue on 2017/7/6.
 */
$(function(){
    var param = $.getUrlParams();
    console.log(param.id);
    $("#supplierSettlementList").gridTable({
        url: "invoice/listInvoice",
        columns: [
            {title: "发货单号", field: "id"},
            {title: "供应商", field: "supplierName"},
            {title: "监所", field: "prisonsName"},
            {title: "商品数量", field: "totalCount",dataType:"number"},
            {title: "状态", field: "statusStr"},
            {title: "订单总额", field: "totalSettlement",dataType:"decimal"},
            {title: "创建时间", field: "createTime"}
        ],
        params: {settlementId: param.id},
        showCheckbox:false,
        showControl: false,
        onDoubleClickRow:function(){}
    });
});